Fix compilation of c++ test: cpp_args
authorDan Cîrnaț <dan@alt.md>
Tue, 4 May 2021 11:52:21 +0000 (13:52 +0200)
committerDan Cîrnaț <dan@alt.md>
Thu, 6 May 2021 08:38:41 +0000 (10:38 +0200)
The correct meson argument for c++ is cpp_args.
Remove unnecessary(?) "-Idummy-headers" - breaks build

testsuite/gtk/meson.build

index 42151a5ad3c711bb2362f6db5b3f1f07e40f4b63..bf812be140353dca8a30619b44af6b04574d7b37 100644 (file)
@@ -222,7 +222,7 @@ endforeach
 if add_languages('cpp', required: false, native: false)
   test_exe = executable('autotestkeywords',
     sources: 'autotestkeywords.cc',
-    c_args: test_cargs + ['-Idummy-headers'],
+    cpp_args: test_cargs,
     dependencies: libgtk_dep,
     install: get_option('install-tests'),
     install_dir: testexecdir,